package com.dhcc.DRGsHosp.core.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.openkoala.koala.commons.domain.KoalaLegacyEntity;

/**
 * @title		:MR_MEDINS_FUND.java
 * @description	:医保总基金配置
 * @author		:shaozhiyuan
 */
@Entity
@Table(name="MR_MEDINS_FUND", schema = "DRGs")
public class MrMedinsFund extends KoalaLegacyEntity {
	/**
	 * 
	 */
	private static final long serialVersionUID = 559592417427164324L;

	/**
	 * 空构造函数
	 */
	public MrMedinsFund() {
		super();
	}
	
	public MrMedinsFund(String medinsFundCode, String medinsFundValue, String medinsFundYear, String hospCode,
			String fundId) {
		super();
		this.medinsFundCode = medinsFundCode;
		this.medinsFundValue = medinsFundValue;
		this.medinsFundYear = medinsFundYear;
		this.hospCode = hospCode;
		this.fundId = fundId;
	}

	//基金类型编码
	@Column(name = "MEDINS_FUND_CODE")
	private String medinsFundCode;
	
	//基金值
	@Column(name = "MEDINS_FUND_VALUE")
	private String medinsFundValue;
		
	//基金年份
	@Column(name = "MEDINS_FUND_YEAR")
	private String medinsFundYear;
	
	//院区编码
	@Column(name = "HOSP_CODE")
	private String hospCode;
	
	//拼接主键
	@Id
	@Column(name = "FUND_ID")
	private String fundId;

	public String getMedinsFundCode() {
		return medinsFundCode;
	}

	public void setMedinsFundCode(String medinsFundCode) {
		this.medinsFundCode = medinsFundCode;
	}
	
	public String getMedinsFundValue() {
		return medinsFundValue;
	}

	public void setMedinsFundValue(String medinsFundValue) {
		this.medinsFundValue = medinsFundValue;
	}

	public String getMedinsFundYear() {
		return medinsFundYear;
	}

	public void setMedinsFundYear(String medinsFundYear) {
		this.medinsFundYear = medinsFundYear;
	}

	public String getHospCode() {
		return hospCode;
	}

	public void setHospCode(String hospCode) {
		this.hospCode = hospCode;
	}

	public String getFundId() {
		return fundId;
	}

	public void setFundId(String fundId) {
		this.fundId = fundId;
	}

	/* (non-Javadoc)
	 * @see org.dayatang.domain.Entity#getId()
	 */
	@Override
	public Serializable getId() {
		return this.fundId;
	}

	/* (non-Javadoc)
	 * @see org.openkoala.koala.commons.domain.KoalaBaseEntity#businessKeys()
	 */
	@Override
	public String[] businessKeys() {
		return null;
	}

	@Override
	public String toString() {
		return "MrMedinsFund [medinsFundCode=" + medinsFundCode + ", medinsFundValue=" + medinsFundValue
				+ ", medinsFundYear=" + medinsFundYear + ", hospCode=" + hospCode + ", fundId=" + fundId + "]";
	}
	
	

}
